<template>
    <SearchBar></SearchBar>

    <!-- <component :is="page" @updata:page="changepage"></component> -->

    <RouterView></RouterView>
    <div>
    </div>
</template>
<script>
import SearchBar from './components/SearchBar.vue'
// import HomePage from './view/HomePage.vue'
// import MoreList from './view/MoreList.vue'


export default {

    data() {
        return {
            page: 'HomePage'
        }
    },
    components: {
        // HomePage, 
        // MoreList,
        SearchBar
    },
    methods: {
        changepage(e) {
            this.page = e
        }
    }
}
</script>